Get Active Validation Rules Of An Object Using SOQL

Sample Code:

SELECT Id, ValidationName, Description, EntityDefinition.DeveloperName, ErrorDisplayField, ErrorMessage FROM ValidationRule Where EntityDefinition.DeveloperName='<Object Name>' And Active = true

Note: To query use Tooling API