added /rules - minor bugs