This paper proposes the use common sense rules and domain specific rules rulebases using reaction ruleML format in conjuction with database metadata rule that can be used to support the development of automated web forms. database metadata can be extracted from system catalogue tables in typical relational database systems by several tools depending on web application environment. the result show that this mechanism successfuly insulates application logic from code.