added rules,production and actions