added a method to parse a rule without needing to know the chain