added facade module, updated allowed and default rules of modules
according leo's new requirements, updated unit test ValidateTest