Test Rule object