Simplify parseRule()