pmc_rules file added and function related to rules_t moved there
doc update
doc update