working rules and started on level generation