splitting rules into separate file