Dynamic requiring and more rules

#1