Implement Rules. Adds #154