Added additional rule controller logic
Added styling and fixed layouts