Backend of Create rule Application