simplified rule execution [skip ci]
refactored rule execution. [skip ci]