Added Rules

Added more unit tests for the rules