Added entity rules module