Wrote tests for all rules