minor changes related to rules and sources
fixed rule issue
rules related chagnes
minor changes