Added test cases that demonstrate how to do CRUD on the database. Look for RuleTest in protected/tests/unit folder