apply formatting rules
query based feature kind checking