updating documentation and added a rule