implement rules | Navpradesh

implement rules