DEVELOPMENT OF A RULE-BASED SYSTEM FOR AUTOMATED BIM CODE-CHECKING